<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" charset="UTF-8">var projectPath = "<%=basePath %>";</script>
<script type="text/javascript" src="<%=basePath %>/resource/js/common-css-js.js" charset="UTF-8"></script>
<title>大旗科技有限公司--供应商欠款--添加页面</title>
<style>
	.layui-form-label {
		padding: 0px; 
		padding-top: 10px; 
	}
</style>
</head>
<body>
<form style="padding: 5px;" id="daqi-form" class="layui-form">
 <input type="hidden" name="supArreId" />
 <div class="layui-form-item">
  <label class="layui-form-label">供应商名称</label>
  <div class="layui-input-block">
   <input type="text" name="supArreSupplierName" lay-verify="required|enterpriseName" placeholder="供应商名称" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <div class="layui-form-item">
  <label class="layui-form-label">去年余款</label>
  <div class="layui-input-block">
   <input type="text" name="supArreLastYearArrears" lay-verify="intNumber" placeholder="去年余款" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <div class="layui-form-item">
  <label class="layui-form-label">一月应付</label>
  <div class="layui-input-block">
   <input type="text" name="supArreJanuary" lay-verify="intNumber" placeholder="一月应付" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <div class="layui-form-item">
  <label class="layui-form-label">二月应付</label>
  <div class="layui-input-block">
   <input type="text" name="supArreFebruary" lay-verify="intNumber" placeholder="二月应付" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <div class="layui-form-item">
  <label class="layui-form-label">三月应付</label>
  <div class="layui-input-block">
   <input type="text" name="supArreMarch" lay-verify="intNumber" placeholder="三月应付" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <div class="layui-form-item">
  <label class="layui-form-label">四月应付</label>
  <div class="layui-input-block">
   <input type="text" name="supArreApril" lay-verify="intNumber" placeholder="四月应付" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <div class="layui-form-item">
  <label class="layui-form-label">五月应付</label>
  <div class="layui-input-block">
   <input type="text" name="supArreMay" lay-verify="intNumber" placeholder="五月应付" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <div class="layui-form-item">
  <label class="layui-form-label">六月应付</label>
  <div class="layui-input-block">
   <input type="text" name="supArreJune" lay-verify="intNumber" placeholder="六月应付" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <div class="layui-form-item">
  <label class="layui-form-label">七月应付</label>
  <div class="layui-input-block">
   <input type="text" name="supArreJuly" lay-verify="intNumber" placeholder="七月应付" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <div class="layui-form-item">
  <label class="layui-form-label">八月应付</label>
  <div class="layui-input-block">
   <input type="text" name="supArreAugust" lay-verify="intNumber" placeholder="八月应付" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <div class="layui-form-item">
  <label class="layui-form-label">九月应付</label>
  <div class="layui-input-block">
   <input type="text" name="supArreSeptember" lay-verify="intNumber" placeholder="九月应付" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <div class="layui-form-item">
  <label class="layui-form-label">十月应付</label>
  <div class="layui-input-block">
   <input type="text" name="supArreOctober" lay-verify="intNumber" placeholder="十月应付" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <div class="layui-form-item">
  <label class="layui-form-label">十一月应付</label>
  <div class="layui-input-block">
   <input type="text" name="supArreNovember" lay-verify="intNumber" placeholder="十一月应付" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <div class="layui-form-item">
  <label class="layui-form-label">十二月应付</label>
  <div class="layui-input-block">
   <input type="text" name="supArreDecember" lay-verify="intNumber" placeholder="十二月应付" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <div class="layui-form-item">
  <label class="layui-form-label">备注</label>
  <div class="layui-input-block">
   <input type="text" name="supArreRemark" placeholder="备注" autocomplete="off" class="layui-input" />
  </div>
 </div>
 <%@include file="/admin/commonsPage/submit-reset.html" %>
</form>
<script type="text/javascript">
	$(function(){
		var rows = parent.cTable.bootstrapTable('getSelections');
		for(key in rows[0]){
			$("input[name='"+key+"']").val(rows[0][key]);
		}
		requestUpdateData("/financial/supplier-arrears");
	})
</script>
</body>
</html>